package com.authentications.security.info;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName SecurityValue
 * @Author xiezhuocai
 * @Description 配置Security属性
 * @Date 2021/12/15 9:48
 */
@ConfigurationProperties("spring.security")
public class SecurityValue {
    private String login_url;
    private String signing_key;//jwt令牌秘钥
    private String iss;
    private Long expiraton;//暴露的时间
    private String role;


    public String getLogin_url() {
        return login_url;
    }

    public void setLogin_url(String login_url) {
        this.login_url = login_url;
    }

    public String getSigning_key() {
        return signing_key;
    }

    public void setSigning_key(String signing_key) {
        this.signing_key = signing_key;
    }

    public String getIss() {
        return iss;
    }

    public void setIss(String iss) {
        this.iss = iss;
    }

    public Long getExpiraton() {
        return expiraton;
    }

    public void setExpiraton(Long expiraton) {
        this.expiraton = expiraton;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
